home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
comm1
/
dannylg6.lha
/
s
/
statsout
< prev
Wrap
Text File
|
1996-03-30
|
2KB
|
27 lines
cd AWS:
stack 10000
;Text output ...
echo "*nTop ten requested homepages;*n" >stats/access.txt
t10 stats/requested.raw pat #?(dannyman|nt|porco|ddreamz|guru)/#? >>stats/access.txt
echo "*nTop twenty requested graphics;*n" >>stats/access.txt
t10 stats/requested.raw num 20 pat ~(#?TM).(jpeg|jpg|jfif|gif|iff|ilbm|ham|anim) >>stats/access.txt
echo "*nTop ten requesting hosts;*n" >>stats/access.txt
t10 stats/hosts.raw >>stats/access.txt
echo "*nTop ten foreign referers;*n" >>stats/access.txt
t10 stats/referers.raw pat ~(#?(arh0268|localhost|us3)#?) >>stats/access.txt
;HTML output ...
echo "<html><head><title>Statsfile for $HOST</title></head>*n" > stats/access.html
echo "<body>*n" >>stats/access.html
echo "*n<h3>Top ten requested homepages;</h3>*n" >>stats/access.html
t10 stats/requested.raw pat #?(dannyman|nt|porco|ddreamz|guru)/#? html >>stats/access.html
echo "*n<hr>*n<h3>Top twenty requested graphics;</h3>*n" >>stats/access.html
t10 stats/requested.raw num 20 pat ~(#?TM).(jpeg|jpg|jfif|gif|iff|ilbm|ham|anim) html >>stats/access.html
echo "*n<hr>*n<h3>Top ten requesting hosts;</h3>*n" >>stats/access.html
echo "<pre>*n" >>stats/access.html
t10 stats/hosts.raw >>stats/access.html
echo "</pre>*n" >>stats/access.html
echo "*n<hr>*n<h3>Top ten foreign referers;</h3>*n" >>stats/access.html
t10 stats/referers.raw pat ~(#?(arh0268|localhost|us3)#?) html >>stats/access.html
echo "<hr><address>Last updated " >>stats/access.html
date >>stats/access.html
echo "</address></body></html>" >>stats/access.html